package com.xpc.pojo.qin;

import com.xpc.pojo.Account;
import com.xpc.pojo.User;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

/**
 * @author Qinkuer
 * @version 1.0.0
 * @ClassName ListUserAndAccount.java
 * @Description 用于过渡,存放从Excel读取的User和Account.对于批量导入数据来说还算好用
 * @createTime 2022年05月14日 18:46:00
 */
@Data
public class ListUserAndAccount {
    private List<User> userList;
    private List<Account> accountList;

    public ListUserAndAccount(){
        this.userList=new ArrayList<User>();
        this.accountList=new ArrayList<Account>();
    }
    public void AddUserAndAccount(User user,Account account){
        this.userList.add(user);
        this.accountList.add(account);
    }
}
